package com.ruicar.afs.cloud.afscase.approvetask.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;


/**
 * @Description 工作流实例临时表
 * @Author Peng_Jinbo
 * @Date 2020/7/2 19:32
 */
@Data
@TableName("work_process_schedule_info_temp")
public class WorkProcessScheduleInfoTemp extends WorkProcessScheduleInfo {
    @JsonSerialize(using = ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField(exist = false)
    private String uncertainNode;
}
